home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
listbox
/
virtxt
/
search.frm
< prev
next >
Wrap
Text File
|
1994-01-21
|
4KB
|
141 lines
VERSION 2.00
Begin Form Search
BorderStyle = 1 'Fixed Single
Caption = "Virtual Text - Search"
ClientHeight = 2415
ClientLeft = 1620
ClientTop = 2550
ClientWidth = 6375
ClipControls = 0 'False
ControlBox = 0 'False
Height = 2790
Left = 1575
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 540
ScaleWidth = 540
Top = 2220
Width = 6465
Begin CommandButton btnOkay
Caption = "OK"
Default = -1 'True
Height = 375
Left = 4995
TabIndex = 2
Top = 315
Width = 1230
End
Begin CommandButton btnCancel
Cancel = -1 'True
Caption = "Cancel"
Height = 390
Left = 4995
TabIndex = 4
Top = 855
Width = 1245
End
Begin SSPanel Panel3D1
Alignment = 1 'Left Justify - MIDDLE
BevelInner = 1 'Inset
BevelOuter = 0 'None
BorderWidth = 2
FloodShowPct = 0 'False
Height = 2130
Left = 165
TabIndex = 0
Top = 90
Width = 4605
Begin SSCheck Check3D2
Height = 195
Left = 330
TabIndex = 6
TabStop = 0 'False
Top = 1755
Width = 210
End
Begin SSCheck Check3D1
Height = 195
Left = 330
TabIndex = 5
TabStop = 0 'False
Top = 1410
Width = 210
End
Begin TextBox Text1
BackColor = &H00FFFFFF&
Height = 330
Left = 330
TabIndex = 1
Top = 960
Width = 3400
End
Begin Label CaseSensitive
AutoSize = -1 'True
Caption = "Case Sensitive"
Height = 195
Left = 675
TabIndex = 8
Top = 1755
Width = 1275
End
Begin Label FromTop
AutoSize = -1 'True
Caption = "From Top"
Height = 195
Left = 690
TabIndex = 7
Top = 1410
Width = 810
End
Begin Label lblTo
AutoSize = -1 'True
BackColor = &H00C0C0C0&
Height = 195
Left = 300
TabIndex = 3
Top = 345
Width = 75
End
End
End
'SEARCH.FRM: VBC Version
Sub btnCancel_Click ()
FindStr = ""
Unload Me
End Sub
Sub btnOkay_Click ()
If Check3D1.Value = True Then
FromTopFlag = True
Else
FromTopFlag = False
End If
If Check3D2.Value = True Then
CaseSensitiveFlag = True
Else
CaseSensitiveFlag = False
End If
FindStr = Text1.Text
Unload Search
End Sub
Sub Form_Load ()
' Center the Form
Me.Left = (Screen.Width - Me.Width) / 2
Me.Top = (Screen.Height - Me.Height) / 3
End Sub